From 697dd4af748311ab87949fb4fd8e879c11aa2b31 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 1 Mar 2017 10:24:53 +0000 Subject: [PATCH] xl: remove declaration of ctx in c files There is already one in xl.h. No functional change. Signed-off-by: Wei Liu Acked-by: Ian Jackson --- tools/xl/xl_flask.c | 2 -- tools/xl/xl_vmcontrol.c | 1 - 2 files changed, 3 deletions(-) diff --git a/tools/xl/xl_flask.c b/tools/xl/xl_flask.c index 804165c6a8..523769750b 100644 --- a/tools/xl/xl_flask.c +++ b/tools/xl/xl_flask.c @@ -23,8 +23,6 @@ #include "xl.h" -extern libxl_ctx *ctx; - int main_getenforce(int argc, char **argv) { int ret; diff --git a/tools/xl/xl_vmcontrol.c b/tools/xl/xl_vmcontrol.c index 9b9d55c481..a3f27ad786 100644 --- a/tools/xl/xl_vmcontrol.c +++ b/tools/xl/xl_vmcontrol.c @@ -30,7 +30,6 @@ #include "xl_utils.h" #include "xl_parse.h" -extern libxl_ctx *ctx; extern int logfile; extern const char *common_domname; -- 2.30.2